package com.ruoyi.im.mapper;


import com.ruoyi.im.entity.IMGroup;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IMGroupMapper {
    IMGroup selectGroupById(@Param("id") Long Id);

    IMGroup selectGroupByName(@Param("name") String Name);

    List<IMGroup> selectAllGroup();

    int deleteByPrimaryKey(@Param("id") Long id);

    long insertSelective(IMGroup record);

    int updateByPrimaryKeySelective(IMGroup record);

    IMGroup selectAreaGroup(@Param("name") String Name);
}